package org.project.single.pojo.dto.dict;

import lombok.Getter;
import lombok.Setter;
import org.project.single.pojo.po.SysDictType;

import java.io.Serializable;
import java.util.Map;

@Getter
@Setter
public class DictDataCacheDto implements Serializable {
    private String id;

    /**
     * 父code
     * {@link SysDictType#getCode()}
     */
    private String parentCode;

    /**
     * 编码
     */
    private String keyCode;

    /**
     * 字典名
     */
    private String keyName;

    /**
     * 字典值
     */
    private String keyValue;

    /**
     * 字典描述
     */
    private String describStr;

    /**
     * 字典扩展信息
     */
    private Map<String,Object> extInfo;

    /**
     * 排序
     */
    private Integer sortNum;

    /**
     * 启用
     * 1 是 0 否
     */
    private Integer enableFlag;
}
